@charset "utf-8";

@import "./reset.scss";
@import "./common.scss";

@function getvw($w) {
    @return $w / 1920 * 100 + vw;
}

nav{
    ul{
        li:nth-child(2){
            a{
                color: #ff4a11;
            }
        }
    }
}

main{
    width: 100%;
    margin-top: getvw(80);
    .banner{
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        img{
            width: 100%;
        }
        p{
            font-size: getvw(90);
            position: absolute;
            bottom: getvw(410);
            color: white;
        }
        span{
            font-size: getvw(35);
            position: absolute;
            bottom: getvw(335);
            color: #9a9693;
        }
    }
    .products{
        display: flex;
        flex-direction: column;
        align-items: center;
        p{
            margin: getvw(100) 0 getvw(15) 0;
            font-size: getvw(60);
            font-weight: bold;
        }
        span{
            font-size: getvw(20);
            color: #d6d6d6;
            letter-spacing: getvw(20);
        }
        ul{
            width: getvw(1400);
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            margin-top: getvw(90);
            li{
                display: flex;
                flex-direction: column;
                align-items: center;
                img{
                    width: getvw(420);
                }
                h1{
                    margin-top: getvw(25);
                    font-size: getvw(30);
                    color: #444444;
                }
                h2{
                    color: #ff6433;
                }
                h3{
                    font-size: getvw(20);
                    color: #e8e8e8;
                }
                
            }
            li:nth-child(4),
            li:nth-child(5),
            li:nth-child(6){
                margin-top: getvw(50);
            }
        }
    }
    .partner{
        width: 100%;
        height:getvw(740);
        display: flex;
        flex-direction: column;
        align-items: center;
        p{
            margin-top: getvw(110);
            font-size: getvw(55);
            font-weight: bold;
        }
        span{
            margin-top: getvw(15);
            font-size: getvw(25);
        }
        ul{
            width: getvw(1400);
            height: getvw(450);
            display: flex;
            flex-wrap: wrap;
            margin-top: getvw(55);
            li{
                width: getvw(233);
                height: getvw(150);
                img{
                    width: 100%;
                }
            }
        }
    }
}

//后面添加效果的类名
.move{
    transform: translateY(getvw(-60));
    box-shadow: getvw(50) getvw(30) getvw(20) gray;
    transition: all ease 1s;
}